﻿/*----------------------------------------------------------------------------------------
*
*  Copyright 2019, Gao Hai Hui, <fromzeropoint@126.com>.  All rights reserved.
*  https://gitee.com/helloworldghh/xoskit.git
*  Use of this source code is governed by a MIT license
*  that can be found in the License file.
*
----------------------------------------------------------------------------------------*/
#ifndef __37F9D32B_31F4_455b_BEDD_5E9BE1EF8F71__
#define __37F9D32B_31F4_455b_BEDD_5E9BE1EF8F71__

namespace xos_common
{

    class common_impl : public i_common
    {
    public:
        typedef xos::release_impl< common_impl > T;

    public:
        common_impl();
        ~common_impl();

	public:
        int create( enumObjType enumType, void ** ppv );

    public:
        int put_back_to_pool( T * pT, bool bLock );
        int init();
        int term();
    };

} // xos_common

#endif // __37F9D32B_31F4_455b_BEDD_5E9BE1EF8F71__
